<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>删除学生</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
	<load href="__JS__/jQuery/jquery.js" />
	<load href= "__JS__/jshelper.js" />
			<script type="text/JavaScript">
					window.onload=show;
			</script>
	</head>
	<body>
	<layout name="Auth:header" />
    	<div class="container-fluid">
     		<div class="row-fluid">
  			  <layout name="Auth:leftmenu" />
              	 <div class="span8">
                    <div class="hero-unit">
                        <h1>删除学生</h1>
                        	  <p style="font-size:12px">当前位置：
                              <a href='__APP__/index/index'  >主页</a>>
                            <a href='__URL__/index'  >后台管理</a>>
                            <a href='__URL__/classdetail'  >教学班管理</a>>
                            <a href='__URL__/classfile/id/{$id}'  >学生管理</a>>
                            <a href="__URL__/deletestudent" >删除学生</a>
                            </p>
                          </div>
						 <table class="table  table-bordered table-striped">
                        	<thead style="background-color:#09F">
                                <tr>
                                    <th colspan="2">学生查询</th>
                                </tr>
                            </thead>
                            <tbody>
                            	  <form method="get" action="__URL__/deletestudent/id/{$id}" class="form-inline">
                            	<tr>
                                	<td>
                                    <input type="text" name="no" placeholder="学号" class="input-large">
                                    <input type="text" name="name"placeholder="姓名" class="input-large">
                                    <input name="submit" type="submit" class="btn btn-info" value="查询" style="width:80px" title="支持模糊查询">
                                    </td>
                                </tr>
                               
                            </tbody>
                              </form>
                        </table>  
                       <form id="form2" name="form2" method="post" action="__URL__/student_delete"> 
                 <table  class="table table-bordered table-striped" width="100%" style="background-color:#09F">
                     	<thead >
                        	<tr>
                            	<td>
                                <input type="button" onClick="javascript:for(var i=0;i<this.form.length;i++)this.form[i].checked=1;" value='全选' class="btn btn-info">&nbsp;&nbsp;
                                <input type="button" onClick="javascript:for(var i=0;i<this.form.length;i++)this.form[i].checked=0;" value='取消全选' class="btn btn-primary">&nbsp;&nbsp;
                                <input type="button" onClick="javascript:for(var i=0;i<this.form.length;i++)this.form[i].checked=!this.form[i].checked;" class="btn btn-info" value='反选'>  
                                <input type="submit" name="Submit" value="删除学生"  align="right" class="btn btn-danger pull-right"> 
                                 </td>
                            </tr>
                        </thead>
                     </table>                 
		<table width="100%" class="table table-bordered table-striped">
				<thead style="background-color:#09F">
					<tr >
						<th>工号</th>
						<th>姓名</th>
						<th>课程名称</th>					
					</tr>
				</thead>
				<load href"__PUBLIC__/js/list_show.js">
				
				<tbody>
					<volist name='list' id='vo' >
						<tr>
							<td><input type='checkbox' name='id[]' value={$vo.id}>{$vo.no}</td>
							<td>{$vo.name}</td><!--姓名-->
							<td>{$vo.cname}</td><!--课程名称-->
							<input type='hidden' name='classid' value={$id}>
						</tr>
					</volist>
				</tbody>
				
				
	  </table>
      </form>
	   <p class="navbar-text pull-right">{$page}</p>     
       </div>
       </div>
	</div>
	</body>
</html>